package com.fqgj.sentry.policy.engine.domain;

import java.io.Serializable;
import java.util.List;

public class ScoreCalculator implements Serializable {

    /**
     * 表达式
     */
    private String expression;

    /**
     * 变量名
     */
    private VariableOrConstant variable;

    /**
     * 参数
     */
    private List<Object> params;


    public String getExpression() {
        return expression;
    }

    public ScoreCalculator setExpression(String expression) {
        this.expression = expression;
        return this;
    }

    public VariableOrConstant getVariable() {
        return variable;
    }

    public ScoreCalculator setVariable(VariableOrConstant variable) {
        this.variable = variable;
        return this;
    }

    public List<Object> getParams() {
        return params;
    }

    public ScoreCalculator setParams(List<Object> params) {
        this.params = params;
        return this;
    }
}
